<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
	<div class="menu">
		<h:panelGroup rendered="#{!authBean.loggedIn}">
			<a href="http://localhost:8080/university-web/enter/admin">Войти как администратор</a><br />
			<a href="http://localhost:8080/university-web/enter/teacher">Войти как преподаватель</a>
		</h:panelGroup>
		<h:panelGroup rendered="#{authBean.loggedInAsTeacher}">
			#{authBean.showName} / <a href="http://localhost:8080/university-web/exit">Выйти</a>
		</h:panelGroup>
		<h:panelGroup rendered="#{authBean.loggedInAsAdmin}">
			#{authBean.showName} / <a href="http://localhost:8080/university-web/exit">Выйти</a>
			<hr />
			<a href="http://localhost:8080/university-web/plans">Учебные планы</a><br />
		</h:panelGroup>
		<hr />
		<a href="http://localhost:8080/university-web/groups/">Учебные группы</a><br />
		<a href="http://localhost:8080/university-web/reports/">Отчеты</a><br />
	</div>
</ui:composition>

</html>